package com.demo.blog.service;

import com.demo.blog.pojo.response.UserInfoParam;
import com.demo.blog.pojo.response.UserInfoResponse;
import com.demo.blog.pojo.response.UserLoginResponse;
import org.jetbrains.annotations.NotNull;

public interface UserService {
    public UserLoginResponse login(UserInfoParam userInfoParam);

    UserInfoResponse getUserInfo(@NotNull Integer userId);

    UserInfoResponse getAuthorInfo(@NotNull Integer blogId);
}
